package com.park.dailytool.data.pojo.model.local;

import com.park.dailytool.annotation.Excel;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;

/**
 * @author huangding
 * @description 每天的金额记录
 * @date 2019-01-23 13:14:51
 */
@Data
@Entity
@Table(name = "every_day_amount")
public class EveryDayAmount {


    /**
     *
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;

    /**
     *
     */
    @Column(name = "mer_code")
    private Integer merCode;

    /**
     * 余额
     */
    @Column(name = "balance")
    @Excel(name = "当前总余额(分)")
    private Integer balance;

    /**
     * 缴费
     */
    @Column(name = "paymentAmount")
    @Excel(name = "缴费(分)")
    private Integer paymentAmount;

    /**
     * 余额扣费
     */
    @Column(name = "deductionAmount")
    @Excel(name = "余额扣费(分)")
    private Integer deductionAmount;

    /**
     * 充值
     */
    @Column(name = "rechargeAmount")
    @Excel(name = "充值金额(分)")
    private Integer rechargeAmount;

    /**
     *
     */
    @Column(name = "date")
    @Excel(name = "时间")
    private String date;


}
